package com.itheima.test2;

public class TestStudent {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setName("张三");
        stu.setAge(23);
        System.out.println(stu.getName());
        System.out.println(stu.getAge());
        stu.show();  // 仅仅是对数据做展示

        Student s1 = new Student();
        s1.setName("柳岩");
        s1.show();
    }
}
